package com.coolwen.springmvc.model;

/**
 * @author CoolWen
 * @version 2020-04-07 17:17
 */
public class UserGroupDto {
    private int uid;
    private String uname;
    private String upassword;
    private String nickname;
    private int gid;
    private String gname;

    public UserGroupDto() {
    }

    public UserGroupDto(int uid, String uname, String upassword, String nickname, int gid, String gname) {
        this.uid = uid;
        this.uname = uname;
        this.upassword = upassword;
        this.nickname = nickname;
        this.gid = gid;
        this.gname = gname;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpassword() {
        return upassword;
    }

    public void setUpassword(String upassword) {
        this.upassword = upassword;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    @Override
    public String toString() {
        return "UserGroupDto{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", upassword='" + upassword + '\'' +
                ", nickname='" + nickname + '\'' +
                ", gid=" + gid +
                ", gname='" + gname + '\'' +
                '}';
    }
}
